(C++) Checks C++ copy and move assignment operators for self assignment.